package com.qianniu.napi.admin.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qianniu.napi.admin.entity.Reserve;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author chenxuebin
 * @since 2017-08-09
 */
public interface ReserveMapper extends BaseMapper<Reserve> {


    void insertReserve(Reserve reserve);

    void updateReserve(Map map);

    Reserve selectReserveById(@Param("id")String id);

    List<Reserve> selectReserveList(Map map);

    List<Reserve> selectMyReserveList(Map map);

}